package com.example.high_slope_electronic_sand_table.soilWaterContent.Enum;

/**
 * 土壤含水量监测-含水量告警等级
 */
public enum WaterContentWarningEnum {
    WARNING_ONE(1,35f),
    WARNING_TWO(2,30f),
    WARNING_THREE(3,25f),
    WARNING_FOUR(4,20f);

    private Integer warningLevel; // 告警等级
    private Float value; // 值

    private WaterContentWarningEnum(int warningLevel, float value) {
        this.warningLevel = warningLevel;
        this.value = value;
    }

    public Integer getWarningLevel() {
        return warningLevel;
    }

    public Float getValue() {
        return value;
    }
}
